package com.wego.demo;

/**
 * Created by Lee on 2018/2/23 9:45.
 */
public class LamdaTest {

    public static void main ( String[] args ) {

        new Thread( new Runnable() {

            @Override
            public void run () {

                System.out.println( "Hello World" );
            }
        } );
        new Thread( () -> System.out.println( "Hello World" ) );
    }
}
